package com.wrs.examsystem.util.wheel;

import com.wrs.examsystem.entity.Test;

/**
 * @Author: 牛欣雨
 * @Date: 2024 / 06 / 17 / 11:06
 * @Description:
 */
public class TestUtil {
    public static boolean judgeEmpty(Test test){
        if (test.getSubject().isEmpty()){
            return true;
        }else if (test.getTeacherId() == null){
            return true;
        }
        return false;
    }
}
